﻿@model IEnumerable<GameSchool.Models.Level>

<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
			<td>GameID</td>
            <td>Nafn borðs</td>
            <td>Lýsing</td>
			<td>Aðgerð</td>
        </tr>
    </thead>
@foreach (var n in Model)
{
    <tr>
		<td>@n.GameID</td>
        <td><a href="/Level/ViewLevel/@n.ID">@n.Title</a></td>
        <td>@n.Description</td>
        <td><a href="/Level/editLevel/@n.ID">Breyta</a></td>
    </tr>
}
</table>